// 模拟数据，用于前端开发

// 民宿列表数据
export const homestayList = [
  {
    id: 1,
    name: '山海美宿',
    type: '别墅',
    area: '杭州',
    address: '杭州市西湖区西湖街道123号',
    price: 688,
    images: [
      'https://picsum.photos/800/600?random=1',
      'https://picsum.photos/800/600?random=2',
    ],
    description: '位于西湖边的舒适别墅，可观湖景，配套设施齐全，环境优美',
    facilities: ['WiFi', '停车场', '厨房', '空调', '洗衣机'],
    rules: '禁止吸烟，禁止宠物，不可举办派对',
    rating: 4.8,
    reviewCount: 120
  },
  {
    id: 2,
    name: '城市小筑',
    type: '公寓',
    area: '上海',
    address: '上海市静安区南京西路456号',
    price: 399,
    images: [
      'https://picsum.photos/800/600?random=3',
      'https://picsum.photos/800/600?random=4',
    ],
    description: '位于市中心的精品公寓，交通便利，周边购物餐饮丰富',
    facilities: ['WiFi', '电视', '冰箱', '空调', '热水器'],
    rules: '禁止吸烟，允许小型宠物',
    rating: 4.5,
    reviewCount: 88
  },
  {
    id: 3,
    name: '田园木屋',
    type: '木屋',
    area: '莫干山',
    address: '湖州市德清县莫干山镇风景区附近',
    price: 899,
    images: [
      'https://picsum.photos/800/600?random=5',
      'https://picsum.photos/800/600?random=6',
    ],
    description: '莫干山深处的原木别墅，环抱竹林，远离喧嚣，体验山居生活',
    facilities: ['WiFi', '烧烤设备', '私人泳池', '露台', '暖气'],
    rules: '禁止大声喧哗，爱护环境',
    rating: 4.9,
    reviewCount: 56
  },
  {
    id: 4,
    name: '海边小屋',
    type: '小屋',
    area: '青岛',
    address: '青岛市崂山区石老人海水浴场附近',
    price: 568,
    images: [
      'https://picsum.photos/800/600?random=7',
      'https://picsum.photos/800/600?random=8',
    ],
    description: '面朝大海的度假小屋，步行可达沙滩，早晨可观日出',
    facilities: ['WiFi', '厨房', '空调', '户外家具', '烧烤架'],
    rules: '注意安全，保持安静',
    rating: 4.6,
    reviewCount: 92
  },
  {
    id: 5,
    name: '古镇客栈',
    type: '民居',
    area: '乌镇',
    address: '嘉兴市桐乡市乌镇景区西栅附近',
    price: 328,
    images: [
      'https://picsum.photos/800/600?random=9',
      'https://picsum.photos/800/600?random=10',
    ],
    description: '江南水乡特色客栈，古色古香，感受水乡文化',
    facilities: ['WiFi', '空调', '暖气', '茶具', '拖鞋'],
    rules: '禁止吸烟，文明用宿',
    rating: 4.7,
    reviewCount: 135
  },
  {
    id: 6,
    name: '雪山木屋',
    type: '木屋',
    area: '长白山',
    address: '吉林省白山市抚松县长白山景区附近',
    price: 799,
    images: [
      'https://picsum.photos/800/600?random=11',
      'https://picsum.photos/800/600?random=12',
    ],
    description: '长白山脚下的温馨木屋，冬季可滑雪，夏季可登山',
    facilities: ['WiFi', '暖气', '壁炉', '烘干机', '雪具寄存'],
    rules: '注意防火，爱护设施',
    rating: 4.8,
    reviewCount: 78
  },
  {
    id: 7,
    name: '湖畔花园别墅',
    type: '别墅',
    area: '苏州',
    address: '苏州市吴中区太湖东路789号',
    price: 1280,
    images: [
      'https://picsum.photos/800/600?random=13',
      'https://picsum.photos/800/600?random=14',
    ],
    description: '依湖而建的豪华别墅，私家花园，独立泳池，享受隐私与奢华',
    facilities: ['WiFi', '私人泳池', '花园', '厨房', '健身房', '按摩浴缸'],
    rules: '入住须交付押金，不允许举办派对，爱护设施',
    rating: 4.9,
    reviewCount: 45
  },
  {
    id: 8,
    name: '阳光海岸度假屋',
    type: '度假屋',
    area: '三亚',
    address: '三亚市海棠湾海棠北路123号',
    price: 866,
    images: [
      'https://picsum.photos/800/600?random=15',
      'https://picsum.photos/800/600?random=16',
    ],
    description: '临海而居的度假公寓，视野开阔，配套齐全，适合家庭入住',
    facilities: ['WiFi', '厨房', '洗衣机', '空调', '海景阳台'],
    rules: '不允许带宠物，请爱护公共设施',
    rating: 4.6,
    reviewCount: 112
  }
]

// 用户数据
export const user = {
  id: 1001,
  username: '测试用户',
  email: 'test@example.com',
  phone: '13800138000',
  avatar: 'https://picsum.photos/200/200?random=101',
  createTime: '2023-01-15'
}

// 预订数据
export const bookings = [
  {
    id: 1,
    homestayId: 1,
    homestayName: '山海美宿',
    startDate: '2023-08-10',
    endDate: '2023-08-12',
    days: 2,
    totalPrice: 1376,
    status: '已确认',
    createTime: '2023-07-15'
  },
  {
    id: 2,
    homestayId: 3,
    homestayName: '田园木屋',
    startDate: '2023-09-05',
    endDate: '2023-09-07',
    days: 2,
    totalPrice: 1798,
    status: '已完成',
    createTime: '2023-08-20'
  },
  {
    id: 3,
    homestayId: 5,
    homestayName: '古镇客栈',
    startDate: '2023-10-01',
    endDate: '2023-10-03',
    days: 2,
    totalPrice: 656,
    status: '已取消',
    createTime: '2023-09-10'
  },
  {
    id: 4,
    homestayId: 2,
    homestayName: '城市小筑',
    startDate: '2023-11-15',
    endDate: '2023-11-18',
    days: 3,
    totalPrice: 1197,
    status: '已确认',
    createTime: '2023-10-25'
  },
  {
    id: 5,
    homestayId: 7,
    homestayName: '湖畔花园别墅',
    startDate: '2023-12-24',
    endDate: '2023-12-26',
    days: 2,
    totalPrice: 2560,
    status: '待支付',
    createTime: '2023-11-30'
  }
]

// 收藏数据
export const favorites = [
  {
    id: 1,
    homestayId: 2,
    homestayName: '城市小筑',
    homestayImage: 'https://picsum.photos/800/600?random=3',
    price: 399,
    area: '上海',
    createTime: '2023-07-10'
  },
  {
    id: 2,
    homestayId: 5,
    homestayName: '古镇客栈',
    homestayImage: 'https://picsum.photos/800/600?random=9',
    price: 328,
    area: '乌镇',
    createTime: '2023-08-15'
  },
  {
    id: 3,
    homestayId: 7,
    homestayName: '湖畔花园别墅',
    homestayImage: 'https://picsum.photos/800/600?random=13',
    price: 1280,
    area: '苏州',
    createTime: '2023-09-05'
  },
  {
    id: 4,
    homestayId: 4,
    homestayName: '海边小屋',
    homestayImage: 'https://picsum.photos/800/600?random=7',
    price: 568,
    area: '青岛',
    createTime: '2023-09-20'
  },
  {
    id: 5,
    homestayId: 8,
    homestayName: '阳光海岸度假屋',
    homestayImage: 'https://picsum.photos/800/600?random=15',
    price: 866,
    area: '三亚',
    createTime: '2023-10-10'
  }
]

// 评论数据
export const reviews = [
  {
    id: 1,
    homestayId: 1,
    userId: 1002,
    username: '张三',
    avatar: 'https://picsum.photos/200/200?random=201',
    content: '环境非常好，服务也很周到，下次还会再来！',
    rating: 5,
    createTime: '2023-06-20'
  },
  {
    id: 2,
    homestayId: 1,
    userId: 1003,
    username: '李四',
    avatar: 'https://picsum.photos/200/200?random=202',
    content: '位置很好，离景区很近，但是房间隔音效果一般。',
    rating: 4,
    createTime: '2023-07-05'
  },
  {
    id: 3,
    homestayId: 2,
    userId: 1004,
    username: '王五',
    avatar: 'https://picsum.photos/200/200?random=203',
    content: '交通便利，周边设施齐全，很适合商务出行。',
    rating: 5,
    createTime: '2023-06-15'
  },
  {
    id: 4,
    homestayId: 3,
    userId: 1005,
    username: '赵六',
    avatar: 'https://picsum.photos/200/200?random=204',
    content: '风景太美了，房间干净整洁，老板人很好，推荐！',
    rating: 5,
    createTime: '2023-07-25'
  },
  {
    id: 5,
    homestayId: 4,
    userId: 1006,
    username: '钱七',
    avatar: 'https://picsum.photos/200/200?random=205',
    content: '海景房视野开阔，但是价格略贵，性价比一般。',
    rating: 3,
    createTime: '2023-08-05'
  },
  {
    id: 6,
    homestayId: 5,
    userId: 1007,
    username: '孙八',
    avatar: 'https://picsum.photos/200/200?random=206',
    content: '住在古镇里面，体验很好，晚上很安静，推荐！',
    rating: 5,
    createTime: '2023-08-12'
  },
  {
    id: 7,
    homestayId: 6,
    userId: 1008,
    username: '周九',
    avatar: 'https://picsum.photos/200/200?random=207',
    content: '冬季入住，暖气很足，周围雪景很美，度假胜地！',
    rating: 5,
    createTime: '2023-01-15'
  },
  {
    id: 8,
    homestayId: 7,
    userId: 1009,
    username: '吴十',
    avatar: 'https://picsum.photos/200/200?random=208',
    content: '别墅很大，设施豪华，服务周到，但价格确实不便宜。',
    rating: 4,
    createTime: '2023-07-20'
  }
] 